package Rbac.domain.entity;
/*
 * 用户实体类
 */
public class Users extends BaseEntity{
    /**
     * 登陆用户名
     */
    public String username;
    /**
     * 真实姓名
     */
    public String name;
    /**
     * 手机号码
     */
    public String mobile;
    /**
     * 邮箱
     */
    public String email;
    /**
     * 部门id
     */
    public int deptId;
    /**
     * 角色id
     */
    public int roleId;
    /**
     * 状态
     */
    public boolean enabled=true;
    public Users(){
    }
    public Users(int id, String username,String name,String mobile,String email,int deptId,int roleId){
        super(id);
        this.username=username;
        this.name=name;
        this.mobile=mobile;
        this.email=email;
        this.deptId=deptId;
        this.roleId=roleId;
    }
}
